<!DOCTYPE html>
<html xmlns:th="www.thymeleaf.org">
<head>
    <title>Student detail</title>
</head>
<body>
<h1>Student detail</h1>
<div th:if="${msg!=null}" th:text="${msg}" style="color:red;">error message!</div>
<table border="1" width="100%">
    <tr>
        <th>Property</th>
        <th>Value</th>
    </tr>
    <tr>
        <td>Id</td>
        <td th:text="${student.id}">student id</td>
    </tr>
    <tr>
        <td>No.</td>
        <td th:text="${student.no}"></td>
    </tr>
    <tr>
        <td>Firstname</td>
        <td th:text="${student.firstname}"></td>
    </tr>
    <tr>
        <td>Lastname</td>
        <td th:text="${student.lastname}"></td>
    </tr>
    <tr>
        <td>Gender</td>
        <td th:text="${student.gender}"></td>
    </tr>
    <tr>
        <td>Birthday</td>
        <td th:text="${student.birthday}"></td>
    </tr>
    <tr>
        <td>email</td>
        <td th:text="${student.email}"></td>
    </tr>
</table>
</body>
</html>
